package com.wd.cloud.applet.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wd.cloud.applet.config.CustomListResultConfig;
import com.wd.cloud.applet.entity.bo.SysUserRoleInfoBO.SysUserRoleInfoListBO;
import com.wd.cloud.applet.entity.bo.SysUserRoleInfoBO.SysUserRoleInfoSaveBO;
import com.wd.cloud.applet.entity.commons.RequestPrimaryKeyModel;
import com.wd.cloud.applet.entity.dto.SysRoleMenuInfoModel;
import com.wd.cloud.applet.entity.dto.SysUserRoleInfoModel;
import com.wd.cloud.applet.entity.vo.SysUserRoleInfoVO.SysUserRoleInfoKeyVO;
import com.wd.cloud.applet.entity.vo.SysUserRoleInfoVO.SysUserRoleInfoListVO;
import java.util.List;

/**
 * Description: [用户角色关联表服务]
 * Created on 2023年04月21日
 * @author  <a href="mailto: 987707681@qq.com">hjx</a>
 * @version 1.0
 * Copyright (c) 2023年 代码生成器
 */
public interface ISysUserRoleInfoService extends IService<SysUserRoleInfoModel> {

    /**
    * 根据主键id删除
    *
    * @param params
    * @return
    */
int deleteByPrimaryKey(RequestPrimaryKeyModel params);

    /**
    * 新增数据
    *
    * @param params
    * @return
    */
int insertSelective(SysUserRoleInfoSaveBO params);
    /**
    * 新增或修改
    *
    * @param params
    * @return
    */
int save(SysUserRoleInfoSaveBO params);
    /**
    * 分页获取数据列表
    *
    * @param params
    * @return
    */
    List<SysUserRoleInfoListVO> selectByList(SysUserRoleInfoListBO params);
    /**
    * 根据主键id获取实体
    *
    * @param params
    * @return
    */
    SysUserRoleInfoKeyVO selectByPrimaryKey(RequestPrimaryKeyModel params);
}
